@extends($_frameLayoutView)

@section('pageTitle','招聘中心 - '.\TechSoft\Laravel\Config\ConfigUtil::get('siteName'))
@section('pageKeywords','招聘中心,'.\TechSoft\Laravel\Config\ConfigUtil::get('siteKeywords'))
@section('pageDescription','招聘中心,'.\TechSoft\Laravel\Config\ConfigUtil::get('siteDescription'))

@section('body')

    @include(\TechSoft\Laravel\View\TemplateUtil::view('pc.header'),['mini'=>true])

    <div class="pb-page-background">
        <div class="background">
            <div class="title">招聘中心</div>
        </div>
    </div>

    <div class="pb-job-list">
        <div class="pb-container">
            @if(count($jobs))
                @foreach($jobs as $job)
                    <a class="item" href="/job/{{$job['id']}}">
                        <div class="date">
                            {{\Carbon\Carbon::parse($job['created_at'])->toDateString()}}
                        </div>
                        <div class="title uk-text-truncate">
                            {{$job['title']}}
                        </div>
                    </a>
                @endforeach
                <div class="pb-page">
                    <div class="page-container">
                        {!! $pageHtml !!}
                    </div>
                </div>
            @else
                <div class="pb-empty">暂无内容</div>
            @endif
        </div>
    </div>

    @include('theme.default.pc.footer')

    @if(\TechSoft\Laravel\Config\ConfigUtil::get('moduleBookEnable',false))
        @include('theme.default.pc.book')
    @endif

@endsection
